package com.bl.student.service.biz.teacher;

import com.bl.student.dao.model.TeacherEntity;
import com.bl.student.dao.redis.model.TeacherInfo;
import com.bl.student.dao.redis.model.UserInfo;
import com.bl.student.service.vo.main.LoginResponseVo;
import com.bl.student.service.vo.teacher.TeacherInfoModifyVo;
import com.bl.student.service.vo.teacher.TeacherLoginResponseVo;
import com.bl.student.service.vo.teacher.TeacherLoginVo;
import com.bl.student.service.vo.teacher.TeacherRegisterVo;

/**
 * Created by yujingyi on 2018/2/25.
 */
public interface TeacherMainService {
    TeacherLoginResponseVo appLogin(TeacherLoginVo teacherLoginVo);

    void logout(UserInfo teacherInfo);

    LoginResponseVo register(TeacherRegisterVo teacherRegisterVo, String openId, String hxId);

    void modify(TeacherInfoModifyVo teacherInfoModifyVo, TeacherInfo teacherInfo);

    TeacherEntity createWechatUser(String nickname, int sex, String avatar, String openId, String unionId);
}
